package com.edwin.tfm;

import java.util.List;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.*;

public class TFMActivity extends Activity {
    /** Called when the activity is first created. */
	ImageView click;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        click = (ImageView) findViewById(R.id.splashscreen);
        
        startImageViewListener();
        
        //DatabaseHandler db = new DatabaseHandler(this);
        
    }
   
    public void startImageViewListener() {
		click.setOnClickListener(new View.OnClickListener() {
			public void onClick(View view) {
		        Intent intent = new Intent(TFMActivity.this, menu.class);
		        startActivity(intent);
		      }
		});
    }
}